Must do Leetcode Bit Manipulation string problem